package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.StatementItem;
import cn.wolfcode.car.business.query.StatementItemQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.util.List;

public interface IStatementItemService {
    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<StatementItem> query(StatementItemQuery qo);

    /**
     * 编辑
     * @param items
     */
    void saveItems(List<StatementItem> items);

    /**
     * 确认支付
     * @param statementId
     */
    void payStatement(Long statementId);

    /**
     * 删除结算单明细列
     * @param statementId
     */
    void removeByStatementId(Long statementId);
}
